package cn.wzx.mapper;

import cn.wzx.entity.Cart;
import cn.wzx.entity.CartBook;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CartMapper {
    public List<CartBook> findAll(Integer uid);
    public void addCart(Cart cart);
    public Cart findByBookidUid(@Param("uid") Integer uid, @Param("bookid") int bookid);
    public void remove(int paramInt);
    public void addNum(@Param("id") Integer id, @Param("num") Integer num);
}
